/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.a.a;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;

public abstract interface a extends IInterface {
    public abstract int a(String paramString1, String paramString2, String paramString3, int paramInt,
            String paramString4, String paramString5, String[] paramArrayOfString);

    public abstract int b(String paramString1, String paramString2, String paramString3, int paramInt,
            String paramString4, String paramString5, String[] paramArrayOfString);

    public abstract int a(String paramString1, String paramString2, String paramString3, String[] paramArrayOfString);

    public abstract int a(String paramString1, String paramString2, int paramInt, String[] paramArrayOfString);

    public static abstract class a extends Binder implements a {
        public static a a(IBinder paramIBinder) {
            if (paramIBinder == null)
                return null;
            IInterface localIInterface = paramIBinder
                    .queryLocalInterface("com.qihoo.accountcenter.aidl.IAccountService");
            if ((localIInterface != null) && (localIInterface instanceof a))
                return ((a) localIInterface);
            return new a(paramIBinder);
        }

        public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2) {
            String str1;
            String str2;
            String str3;
            int j;
            String str4;
            String str5;
            int i1;
            String[] arrayOfString2;
            int i2;
            int k;
            String[] arrayOfString1;
            int l;
            switch (paramInt1) {
            case 1598968902:
                paramParcel2.writeString("com.qihoo.accountcenter.aidl.IAccountService");
                return true;
            case 1:
                paramParcel1.enforceInterface("com.qihoo.accountcenter.aidl.IAccountService");
                str1 = paramParcel1.readString();
                str2 = paramParcel1.readString();
                str3 = paramParcel1.readString();
                j = paramParcel1.readInt();
                str4 = paramParcel1.readString();
                str5 = paramParcel1.readString();
                i1 = paramParcel1.readInt();
                if (i1 < 0)
                    arrayOfString2 = null;
                else
                    arrayOfString2 = new String[i1];
                i2 = a(str1, str2, str3, j, str4, str5, arrayOfString2);
                paramParcel2.writeNoException();
                paramParcel2.writeInt(i2);
                paramParcel2.writeStringArray(arrayOfString2);
                return true;
            case 2:
                paramParcel1.enforceInterface("com.qihoo.accountcenter.aidl.IAccountService");
                str1 = paramParcel1.readString();
                str2 = paramParcel1.readString();
                str3 = paramParcel1.readString();
                j = paramParcel1.readInt();
                str4 = paramParcel1.readString();
                str5 = paramParcel1.readString();
                i1 = paramParcel1.readInt();
                if (i1 < 0)
                    arrayOfString2 = null;
                else
                    arrayOfString2 = new String[i1];
                i2 = b(str1, str2, str3, j, str4, str5, arrayOfString2);
                paramParcel2.writeNoException();
                paramParcel2.writeInt(i2);
                paramParcel2.writeStringArray(arrayOfString2);
                return true;
            case 3:
                paramParcel1.enforceInterface("com.qihoo.accountcenter.aidl.IAccountService");
                str1 = paramParcel1.readString();
                str2 = paramParcel1.readString();
                str3 = paramParcel1.readString();
                k = paramParcel1.readInt();
                if (k < 0)
                    arrayOfString1 = null;
                else
                    arrayOfString1 = new String[k];
                l = a(str1, str2, str3, arrayOfString1);
                paramParcel2.writeNoException();
                paramParcel2.writeInt(l);
                paramParcel2.writeStringArray(arrayOfString1);
                return true;
            case 4:
                paramParcel1.enforceInterface("com.qihoo.accountcenter.aidl.IAccountService");
                str1 = paramParcel1.readString();
                str2 = paramParcel1.readString();
                int i = paramParcel1.readInt();
                k = paramParcel1.readInt();
                if (k < 0)
                    arrayOfString1 = null;
                else
                    arrayOfString1 = new String[k];
                l = a(str1, str2, i, arrayOfString1);
                paramParcel2.writeNoException();
                paramParcel2.writeInt(l);
                paramParcel2.writeStringArray(arrayOfString1);
                return true;
            }
            return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
        }

        private static class a implements a {
            private IBinder a;

            a(IBinder paramIBinder) {
                this.a = paramIBinder;
            }

            public IBinder asBinder() {
                return this.a;
            }

            public int a(String paramString1, String paramString2, String paramString3, int paramInt,
                    String paramString4, String paramString5, String[] paramArrayOfString) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                int i;
                try {
                    localParcel1.writeInterfaceToken("com.qihoo.accountcenter.aidl.IAccountService");
                    localParcel1.writeString(paramString1);
                    localParcel1.writeString(paramString2);
                    localParcel1.writeString(paramString3);
                    localParcel1.writeInt(paramInt);
                    localParcel1.writeString(paramString4);
                    localParcel1.writeString(paramString5);
                    if (paramArrayOfString == null)
                        localParcel1.writeInt(-1);
                    else
                        localParcel1.writeInt(paramArrayOfString.length);
                    this.a.transact(1, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                    i = localParcel2.readInt();
                    localParcel2.readStringArray(paramArrayOfString);
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
                return i;
            }

            public int b(String paramString1, String paramString2, String paramString3, int paramInt,
                    String paramString4, String paramString5, String[] paramArrayOfString) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                int i;
                try {
                    localParcel1.writeInterfaceToken("com.qihoo.accountcenter.aidl.IAccountService");
                    localParcel1.writeString(paramString1);
                    localParcel1.writeString(paramString2);
                    localParcel1.writeString(paramString3);
                    localParcel1.writeInt(paramInt);
                    localParcel1.writeString(paramString4);
                    localParcel1.writeString(paramString5);
                    if (paramArrayOfString == null)
                        localParcel1.writeInt(-1);
                    else
                        localParcel1.writeInt(paramArrayOfString.length);
                    this.a.transact(2, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                    i = localParcel2.readInt();
                    localParcel2.readStringArray(paramArrayOfString);
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
                return i;
            }

            public int a(String paramString1, String paramString2, String paramString3, String[] paramArrayOfString) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                int i;
                try {
                    localParcel1.writeInterfaceToken("com.qihoo.accountcenter.aidl.IAccountService");
                    localParcel1.writeString(paramString1);
                    localParcel1.writeString(paramString2);
                    localParcel1.writeString(paramString3);
                    if (paramArrayOfString == null)
                        localParcel1.writeInt(-1);
                    else
                        localParcel1.writeInt(paramArrayOfString.length);
                    this.a.transact(3, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                    i = localParcel2.readInt();
                    localParcel2.readStringArray(paramArrayOfString);
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
                return i;
            }

            public int a(String paramString1, String paramString2, int paramInt, String[] paramArrayOfString) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                int i;
                try {
                    localParcel1.writeInterfaceToken("com.qihoo.accountcenter.aidl.IAccountService");
                    localParcel1.writeString(paramString1);
                    localParcel1.writeString(paramString2);
                    localParcel1.writeInt(paramInt);
                    if (paramArrayOfString == null)
                        localParcel1.writeInt(-1);
                    else
                        localParcel1.writeInt(paramArrayOfString.length);
                    this.a.transact(4, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                    i = localParcel2.readInt();
                    localParcel2.readStringArray(paramArrayOfString);
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
                return i;
            }
        }
    }
}